// http protocol, uses for Http protocol functions.
//
#pragma once

#ifndef HTTP_INCLUDE_HEADER
#define HTTP_INCLUDE_HEADER 0
	#include <windows.h>
	#include <wininet.h>
	#include <crtdbg.h>
	#include <string>
	using namespace std;
#pragma comment(lib, "wininet.lib")
#endif

namespace HttpProtocol
{

class CHttpException
{
public:
	CHttpException(DWORD dwError);
	~CHttpException(void);

public:
	DWORD GetErrorCode(void);
	LPCWSTR What();

private:
	DWORD errCode;
};

}

